
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class ZhiHu extends StatefulWidget {
  ZhiHu({Key key}) : super(key: key);

  @override
  _ZhiHuState createState() => _ZhiHuState();
}

class _ZhiHuState extends State<ZhiHu> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
  
    return Scaffold(
      appBar: AppBar(
        title: Text('ZhiHu'),
        brightness: Brightness.light,
        // backgroundColor: Colors.black,
      ),
      body: ListView(
        children: <Widget>[
          // 角定位需要显示的内容在左上角，左下角，右上角，右下角
          Container(
            color: Colors.blue,
            width: 300,
            height: 200,
            child: Align(
              alignment: Alignment.bottomRight,
              child: Text(
                "Hello Align ",
                style: TextStyle(
                  fontSize: 20,
                  color: Colors.white,
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}
